<!-- 
<script type="text/javascript">
 var speed = 20;//滚动速度
 var maq;
 var m1;//第一份滚动的内容
 var m2;//第二份滚动的内容
 var timer;//定时器
 function run(){
  if(m1.offsetWidth<=maq.scrollLeft){
   maq.scrollLeft-=m1.offsetWidth;
  }else{
   maq.scrollLeft+=6;
  }
 }
window.onload=function(){
  maq=document.getElementById("maq");
  m1=document.getElementById("m1");
  m2=document.getElementById("m2");
  m2.innerHTML=m1.innerHTML;
  if(timer==null){
   timer=window.setInterval(run,speed);
  }
  maq.onmouseover=function(){
   window.clearInterval(timer);
  }
    maq.onmouseout=function(){
   timer=window.setInterval(run,speed);
  }
}
</script>
</head>
<body>
<div id="maq" style="height:200px; width:180px; overflow:hidden;">
<table>
<tr>
<td id="m1">
<table>
  <tr>
    <td><img src="F:\Pictures\Camera Roll\picture\a9d3fd1f4134970a24d5b80391cad1c8a7865d73.jpg" width="174" height="268" /></td>
    <td><img src="F:\Pictures\Camera Roll\picture\ac75323d6b6de243-183ee64d2cc4d85d-85ad638f6da4ecba77abafd45eb474e8.jpg" width="174" height="268" /></td>
    <td><img src="F:\Pictures\Camera Roll\picture\u=1664789795,152294796&fm=11&gp=0.jpg" width="174" height="268" /></td>
    
  </tr>
</table>
</td>
<td id="m2"></td>
</tr>
</table>
</div>
</body> -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>js文字向左无缝滚动</title>
</head>
<body>
<style type="text/css">
.qimo8{ overflow:hidden; width:815px;}
.qimo8 .qimo {/*width:99999999px;*/width:8000%; height:30px;}
.qimo8 .qimo div{ float:left;}
.qimo8 .qimo ul{float:left; height:30px; overflow:hidden; zoom:1; }
.qimo8 .qimo ul li{float:left; line-height:30px; list-style:none;}
.qimo8 li a{margin-right:10px;color:#444444;}
</style>
<div id="demo" class="qimo8">
  <div class="qimo">
    <div id="demo1">
      <ul>
                               <li><a href='/office/194/46163.htm' >回收站里的文件删除了怎么恢复</a></li>
<li><a href='/office/193/46162.htm' >c盘哪些文件可以删除 系统就越来越慢怎么办</a></li>
<li><a href='/office/194/46161.htm' >电脑输入法切换不了怎么办</a></li>
<li><a href='/office/193/46160.htm' >PC是什么意思 </a></li>
<li><a href='/office/193/46159.htm' >注册表怎么打开 电脑注册表在哪里打开</a></li>
<li><a href='/office/193/46158.htm' >什么浏览器速度最快 什么浏览器最安全</a></li>
<li><a href='/office/193/46157.htm' >1m等于多少kb 1MB等于多少KB</a></li>
<li><a href='/office/193/46156.htm' >ppap.exe是什么进程</a></li>
      </ul>
    </div>
    <div id="demo2"></div>
  </div>
</div>
<script type="text/javascript">
var demo = document.getElementById("demo");
var demo1 = document.getElementById("demo1");
var demo2 = document.getElementById("demo2");
demo2.innerHTML=document.getElementById("demo1").innerHTML;
function Marquee(){
if(demo.scrollLeft-demo2.offsetWidth>=0){
 demo.scrollLeft-=demo1.offsetWidth;
}
else{
 demo.scrollLeft++;
}
}
var myvar=setInterval(Marquee,30);
demo.onmouseout=function (){myvar=setInterval(Marquee,30);}
demo.onmouseover=function(){clearInterval(myvar);}
</script>
</body>
</html></td>
    </tr>
  </table>